projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b62fc
)
progressbar: Never stop never stopping
author
Benjamin Otte
<otte@redhat.com>
Tue, 26 Jun 2018 02:13:24 +0000
(
04:13
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 26 Jun 2018 02:14:25 +0000
(
04:14
+0200)
Reinstate code that was accidentally deleted during the port to
GtkProgressTracker in commit
d57ebe2de7d
.
Without that code, pulsing the progressbar will stop doing anything
after 3 iterations.
gtk/gtkprogressbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprogressbar.c
b/gtk/gtkprogressbar.c
index 90936b0a306f8b23636cd3a46284ebba578ed3f2..4cb8437ab4caab6e5130229f0bbedec19f05ea24 100644
(file)
--- a/
gtk/gtkprogressbar.c
+++ b/
gtk/gtkprogressbar.c
@@
-1226,7
+1226,10
@@
tick_cb (GtkWidget *widget,
priv->last_iteration = iteration;
if (current_iterations > 3 * pulse_iterations)
- return G_SOURCE_CONTINUE;
+ {
+ priv->pulse1 = 0;
+ return G_SOURCE_CONTINUE;
+ }
/* advance the block */
if (priv->activity_dir == 0)